<?php if(!empty($menu_name)){ ?>
<ul class="<?php echo $class ?>">
    <li class="first"><a><?php echo $menu_name ?></a></li>
    <?php foreach($menu_items as $one){ ?>
    <li><a href="<?php echo trim($one['route']) != '' ? (strpos($one['route'], 'http') === false ? url_for($one['route']) : $one['route']) : public_path('/'/*.$sf_user->getCulture().'/'*/.$one['slug'].'.html')  ?>"><?php echo $one['title'] ?></a></li>
    <?php } ?>
</ul>
<?php } ?>